//
//  Bundle+Extensions.swift
//  weibo
//
//  Created by iobit on 2017/05/19.
//  Copyright © 2017 zhuxu. All rights reserved.
//

import Foundation

extension Bundle {
    var namespace:String {
        return infoDictionary?["CFBundleName"] as? String ?? ""
//        infoDictionary?["CFBundleName"] as? String如果包含一个optional值就进行解包，否则返回？？后面的值
//        CFBundleName是产品名称，CFBundleDisplayName是程序安装后显示的名称
    }
    
}
